<?php



class ListCountersMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ListCountersMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ListCountersPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ListCountersPeer::TABLE_NAME);
		$tMap->setPhpName('ListCounters');
		$tMap->setClassname('ListCounters');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('IDEN', 'Iden', 'VARCHAR', true, 20);

		$tMap->addColumn('NAME', 'Name', 'VARCHAR', true, 50);

		$tMap->addColumn('LOCATION', 'Location', 'VARCHAR', true, 50);

		$tMap->addColumn('CODE', 'Code', 'VARCHAR', true, 10);

	} 
} 